//
//  YbrFTPCourseList.m
//  wifibox
//
//  Created by os X 10.9 on 15-1-21.
//  Copyright (c) 2015年 yinbaner. All rights reserved.
//

#import "YbrFTPCourseList.h"
#import "YbrHttpMyBagItem.h"

//@property (nonatomic, strong) NSString *name;
//@property (nonatomic, strong) NSString *img;
//@property (nonatomic, strong) NSString *courseId;
//@property (nonatomic, strong) NSString *ftpPath;
//@property (nonatomic, strong) NSString *courseType;
//@property (nonatomic, strong) NSString *classCourseType;


//@property (nonatomic, copy) NSString *courseName;
//@property (nonatomic) int courseId;
//@property (nonatomic, copy) NSString *img;
//@property (nonatomic) int channelId;
//@property (nonatomic ,copy) NSString *channelName;
//@property (nonatomic) int channelType;  // 课程的类型(2级目录)
//@property (nonatomic ,copy) NSString *musicContent;   // 这个就是课程中的所有的内容

@implementation YbrFTPCourseList

+(YbrHttpMyBagItem *) ftpCourseToHttpMyBag:(YbrFTPCourseList *) ftpCourseList {
    YbrHttpMyBagItem *httpMyBag = [[YbrHttpMyBagItem alloc] init];
    httpMyBag.courseId = [ftpCourseList.courseId intValue];
    httpMyBag.courseName = ftpCourseList.name;
    httpMyBag.img = ftpCourseList.img;
    httpMyBag.channelType = [ftpCourseList.classCourseType intValue];
    httpMyBag.channelName = ftpCourseList.courseType;
    return httpMyBag;
}
@end
